package com.atguigu.tingshu.common.login;

import org.springframework.aot.hint.annotation.Reflective;

import java.lang.annotation.*;

/**
 * 自定义登陆注解
 */
@Target({ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Inherited
@Documented  //生成文档
public @interface GuiGuLogin {

    //是否需要登录
    boolean required() default true;

}
